<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>铭发ERP管理系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="${ctxPath}/static/css/login/css/main.css" />

    <link rel="shortcut icon" href="${ctxPath}/static/favicon.ico">
    <link href="${ctxPath}/static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="${ctxPath}/static/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="${ctxPath}/static/css/style.css?v=4.1.0" rel="stylesheet">


    <script src="${ctxPath}/static/js/jquery.min.js?v=2.1.4"></script>
    <script src="${ctxPath}/static/js/common/ajax-utils.js"></script>
    <script src="${ctxPath}/static/js/plugins/layer/layer.js"></script>
    <script src="${ctxPath}/static/css/login/js/index.js"></script>
    <script src="${ctxPath}/static/js/bootstrap.min.js?v=3.3.6"></script>
</head>
<body>
<div class="login-box">
    <div class="logo"></div>
    <div class="frame">
        <div class="frame-content">
            <p>铭发ERP管理系统</p>
                <!--<div class="name input-div">
                    <input type="text" placeholder="用户名">
                </div>
                <div class="password input-div">
                    <input type="password" placeholder="密码">
                </div>
                <button class="submit">登 录</button>-->
            <form class="m-t" role="form" action="${ctxPath}/login" method="post" style="margin-top: 50px;">
                <div class="form-group">
                    <input type="text" name="username" class="form-control" placeholder="用户名" required="" value="" style="-webkit-box-shadow: 0 0 0 1000px #fff inset !important;">
                </div>
                <div class="form-group">
                    <input id="psw" type="password" name="password" class="form-control" placeholder="密码" value="" required="" style="-webkit-box-shadow: 0 0 0 1000px #fff inset !important;"/>
                </div>
                @if(kaptcha.getKaptchaOnOff() == true){
                <div class="form-group" style="float: left;">
                    <div class="col-sm-8" style="padding-left: 0px; padding-right: 0px;">
                        <input class="form-control" type="text" name="kaptcha" placeholder="验证码" required="">
                    </div>
                    <div class="col-sm-4" style="padding-left: 0px; padding-right: 0px;">
                        <img src="${ctxPath}/kaptcha" id="kaptcha" width="100%" height="100%"/>
                    </div>
                </div>
                @}
                <div class="form-group" style="float: left;">
                    <div class="checkbox" style="text-align: left">
                        <label>
                            <input type="checkbox" name="remember" style="margin-top: 2px;">记住我
                        </label>
                    </div>
                </div>
                <button type="button" class="btn btn-primary block full-width m-b" id="login">登 录</button>
            </form>

        </div>
    </div>
</div>
</body>
</html>